package com.huike.business.service.impl;

import com.huike.business.domain.TbBusinessTrackRecord;
import com.huike.business.mapper.TbBusinessTrackRecordMapper;
import com.huike.business.service.ITbBusinessService;
import com.huike.business.service.ITbBusinessTrackRecordService;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ITbBusinessTrackRecordServiceImpl implements ITbBusinessTrackRecordService {
    @Autowired(required = false)
    private TbBusinessTrackRecordMapper tbBusinessTrackRecordMapper;
    @Override
    public List<TbBusinessTrackRecord> getBusinessTrackRecord(Long id) {
        return tbBusinessTrackRecordMapper.businessTrackRecord(id);
    }

    @Override
    public Integer insertBusinessTrackRecord(TbBusinessTrackRecord tbBusinessTrackRecord) {
        return tbBusinessTrackRecordMapper.insertBusinessTrackRecord(tbBusinessTrackRecord);
    }
}
